!!! 5
%html
  %head
    %meta(charset="utf-8")
    %title= (@title ? @title : "#{controller.controller_name}: #{controller.action_name}") + " - Lab Specimen Transport"
    - if request.user_agent && 
    -    request.user_agent.include?('Android') && 
    -    request.user_agent.include?('AppleWebKit')
      = stylesheet_link_tag 'mobile', :media => 'screen, handheld'
    - else
      = stylesheet_link_tag 'global'
      = stylesheet_link_tag 'help', :media => 'screen'
      = stylesheet_link_tag 'mobile', :media => 'handheld'
  %body
    %div{:id => "container"}
      %div{:id => "header"}
        %h1= link_to 'UW SPS', root_path
      - if flash[:notice]
        #flash= flash[:notice]
      %div{:id => "sidebar"}
        %ul
          %li= link_to "Home", root_url
          %li= link_to "Website Help", :action => :index
          %li
            %ul
              %li= link_to "Items", :action => :items
              %li= link_to "Couriers", :action => :couriers
              %li= link_to "Users", :action => :users
              %li= link_to "Locations", :action => :locations
              %li= link_to "Routes", :action => :routes
              %li= link_to "Checklists", :action => :checklists
          %li= link_to "Android Help", :action => :android
          %li
            %ul
              %li= link_to "Download", 'http://code.google.com/p/lab-specimen-transport-system/downloads/list', :target => "_blank"
          %li= link_to "Google Code Site", 'http://code.google.com/p/lab-specimen-transport-system/', :target => "_blank"
      = yield
      = render :partial => "layouts/footer"